home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20000217-20000824 / 000320_news@columbia.edu _Wed May 24 15:38:17 2000.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
  3.     by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id PAA12689
  4.     for <kermit.misc@cpunix.cc.columbia.edu>; Wed, 24 May 2000 15:38:16 -0400 (EDT)
  5. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  6.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA25185
  7.     for <kermit.misc@watsun.cc.columbia.edu>; Wed, 24 May 2000 15:38:16 -0400 (EDT)
  8. Received: (from news@localhost)
  9.     by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id PAA17070
  10.     for kermit.misc@watsun.cc.columbia.edu; Wed, 24 May 2000 15:24:00 -0400 (EDT)
  11. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  12. From: jaltman@columbia.edu (Jeffrey Altman)
  13. Subject: Re: C-Kermit as sub of Perl
  14. Date: 24 May 2000 19:24:00 GMT
  15. Organization: Columbia University
  16. Message-ID: <8gha8g$gl9$1@newsmaster.cc.columbia.edu>
  17. To: kermit.misc@columbia.edu
  18.  
  19. In article <392C2ABF.3E38FDD9@question.com>, MSH  <MSH@question.com> wrote:
  20. : Hi,
  21. :         I need to automate a C-Kermit written Z-Modem connection script
  22. : with a Perl script running as a cron. My plan had been to contain the
  23. : C-Kermit portion in a sub, but I'm having trouble automating the
  24. : keystrokes necessary to complete the connection. For instance, after the
  25. : 'call' command and then 'connect' I need to enter a login and do a send,
  26. : etc.  Anybody encounter this problem before and have ideas for a
  27. : solution?
  28. : thanks,
  29. : MSH
  30.  
  31. The solution is to not attempt to force feed keystrokes in to C-Kermit
  32. to control the connection but instead to write the communication piece
  33. in Kermit Script and simply have the Perl script start the Kermit Script.
  34.  
  35.     Jeffrey Altman * Sr.Software Designer * Kermit-95 for Win32 and OS/2
  36.                  The Kermit Project * Columbia University
  37.               612 West 115th St #716 * New York, NY * 10025
  38.   http://www.kermit-project.org/k95.html * kermit-support@kermit-project.org